<?php

/**
 * XHTML_Event_Attributes, xhtml_lib
 * 
 * This file contains the source code for the XHTML_I18n_Attributes interface.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

/**
 * The XHTML_I18n_Attributes interface specifies the i18n attributes getters and setters
 * for a xhtml-strict php-handler implementation.
 */
interface XHTML_I18n_Attributes {
    
    /**
     * Sets the language code for this element, as per [RFC3066].
     *
     * @param string $languageCode
     */
    function setLang($languageCode);
    
    /**
     * Gets the language code, as per [RFC3066], that has been set for this element
     *
     * @return string
     */
    function getLang();
    
    /**
     * Sets the xml language code for this element, as per [RFC3066].
     *
     * @param string $languageCode
     */
    function setXMLLang($languageCode);
    
    /**
     * Gets the xml language code, as per [RFC3066], that has been set for this element
     *
     * @return string
     */
    function getXMLLang();
    
    /**
     * Sets the text direction for this element.
     * Valid values: ltr, rtl.
     *
     * @param string $dir
     */
    function setDir($dir);
    
    /**
     * Gets the text direction that has been set for this element.
     * Values: ltr, rtl.
     *
     * @return string
     */
    function getDir();
    
}

?>